const exampleComp = {
    name: 'example',
    props: {
        tags: {
            type: Array,
            default: []
        }
    },
    render(h) {
        const res = [];
        for (let i = 0; i < this.tags.length; i++) {
            res.push(h(this.tags[i], i + ""));
        }
        return h('div',res);
    },
};

new Vue({
    el: "#app",
    components: {
        example: exampleComp
    }
})